package nxt.WallRobo_03;
import lejos.nxt.*;
public class Athread extends Thread
{
	public Athread(){}
	public Usthread ust;
	public void run()
	{
		while(true)
		{
			Motor.A.backward();
			if(ust.correction_in_progress==true)
			{
				Motor.A.stop();
				while(ust.correction_in_progress==true)
				{
				}
			}
			
		}
			
	}
}